import Vue from 'vue'
import App from './App'
import store from './store/index.js'
Vue.prototype.$store = store  
import { myrequest } from './util/http.js'
Vue.prototype.$myrequest=myrequest

Vue.config.productionTip = false

import hoverBall from '@/components/hover-ball/hover-ball.vue';
	
import lsLoading from '@/components/ls-loading/ls-loading.vue';
Vue.component('lsLoading', lsLoading)
Vue.component('hoverBall', hoverBall)
App.mpType = 'app'

const app = new Vue({
    ...App
})
import uView from "uview-ui";
Vue.use(uView);
import httpInterceptor from '@/common/http.interceptor.js'
// 这里需要写在最后，是为了等Vue创建对象完成，引入"app"对象(也即页面的"this"实例)
Vue.use(httpInterceptor, app)
app.$mount()
